package com.hzlj.position.dbsync.jinan;

import com.fz.common.auth.annotation.EnableAuthJwt;
import com.fz.common.dict.annotation.EnableDict;
import com.fz.common.kafka.annotation.EnableKafka;
import com.fz.common.logs.annotation.EnableLogs;
import com.fz.common.redis.annotation.EnableRedis;
import com.fz.common.spring.SpringConfigImport;
import com.hzlj.sqjz.config.common.constant.SqjzImport;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableAsync
@EnableRedis
@EnableDict
@EnableAuthJwt
@SpringBootApplication
@EnableKafka
@EnableScheduling
@EnableLogs(serverName = "hzlj-position-dbsync")
@Import({SpringConfigImport.class, SqjzImport.class})
@ComponentScan("com.hzlj.position")
public class JinanSyncApplication {

    public static void main(String[] args) {
        SpringApplication.run(JinanSyncApplication.class, args);
    }

}
